package com.jd.sunny.java.multithreading.callablefuture;

import java.util.concurrent.Callable;

/**
 * @Description:Callable
 * @author:sunny
 * @since:2012-12-25 15:02
 * @version:1.0.0
 */
public class MyCallable implements Callable {

    private String name;

    public MyCallable(String name) {
        this.name = name;
    }

    public Object call() throws Exception {
        return "name:" + name;
    }

}